//
//  MenuItemCollectionViewCell.m
//  MedicalCare
//
//  Created by lbh on 2021/10/11.
//  Copyright © 2021 hs. All rights reserved.
//

#import "MenuItemCollectionViewCell.h"

@implementation MenuItemCollectionViewCell
//- (void)initViews{
//    [self.contentView addSubview:self.bgView];
//    [self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.edges.mas_equalTo(0);
//    }];
//
//    [self.bgView addSubview:self.iconImageView];
//    [self.iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.top.mas_equalTo(17);
//        make.centerX.mas_equalTo(self.bgView.mas_centerX);
//        make.size.mas_equalTo(CGSizeMake(48, 48));
//    }];
//
//    [self.bgView addSubview:self.titleLabel];
//    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.top.mas_equalTo(self.iconImageView.mas_bottom).offset(8);
//        make.centerX.mas_equalTo(self.bgView.mas_centerX);
//    }];
//}
//- (void)setModuleConConModel:(HomeSubConConModel *)moduleConConModel{
//    _moduleConConModel = moduleConConModel;
//    NSString *ID = self.moduleConConModel.ID;
//    NSString *title = moduleConConModel.name;
//    NSString *iconStr = moduleConConModel.iconBASE64;
//    UIImage *base64Image = nil;
//    if([ID isEqualToString:@"11000"]) {
//        base64Image = [UIImage imageNamed:iconStr];
//    }
//    else{
//        base64Image = [UIImage decodeBase64ToImage:iconStr withRemovePrefix:Base64Prefix];
//    }
//    self.iconImageView.image = base64Image;
//    self.titleLabel.text = title;
//}
//#pragma mark --Lazy
//- (UIView *)bgView {
//
//    if (!_bgView) {
//        _bgView = [[UIView alloc]init];
//        _bgView.backgroundColor = [UIColor whiteColor];
//        _bgView.layer.masksToBounds = YES;
//        _bgView.layer.cornerRadius = 8;
//    }
//    return _bgView;
//}
//- (UIImageView *)iconImageView {
//
//    if (!_iconImageView) {
//        _iconImageView = [[UIImageView alloc]init];
//        _iconImageView.image = [UIImage imageNamed:@"Dynamic_baogao_icon"];
//    }
//    return _iconImageView;
//}
//- (UILabel *)titleLabel {
//    if (!_titleLabel) {
//        _titleLabel = [[UILabel alloc]init];
//        _titleLabel.text = @"问诊室";
//        _titleLabel.textColor = [UIColor colorWithHex:@"#333333"];
//        _titleLabel.font = kFont(14);
//    }
//    return _titleLabel;
//}
@end
